<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>扭曲</title>
    <style>
      .outer {
        width: 200px;
        height: 200px;
        border: 2px solid black;
        margin: 0 auto;
        margin-top: 100px;
      }
      .son {
          width: 200px;
          height: 200px;
          background-color: deepskyblue;
          /*  x轴扭曲*/
          /*transform: skewX(40deg);*/
          /*  y轴扭曲*/
          /*transform: skewY(40deg);*/
          /*  连个都扭曲 用法和translate一样 */
          transform: skew(40deg,80deg);
      }
    </style>
</head>
<body>
  <div class="outer">
    <div class="son">你好啊</div>
  </div>

</body>
</html>